Merged
Conversation
Adds install.sh for one-line installation from GitHub releases: curl -fsSL .../install.sh | sh Supports darwin/linux on amd64/arm64, SHA-256 checksum verification, and VERSION override for pinning. Resolves latest release via GitHub's /releases/latest redirect (no API auth needed). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Tests install.sh on Linux with: - Default latest release install - Specific version (VERSION=v0.1.0) - Custom INSTALL_DIR - Failure on nonexistent version Only triggers on PRs that touch install.sh. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The repo is private, so unauthenticated curl calls to GitHub return 404. Added gh_curl() wrapper that passes Authorization header when GITHUB_TOKEN is set, and thread it through all GitHub-facing curl calls. CI workflow now passes GITHUB_TOKEN to each step. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Repo is now public — remove GITHUB_TOKEN plumbing and use the simple /releases/latest redirect approach for version resolution. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The trap handler can't access local variables from main() under set -u, causing 'parameter not set' error on exit. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/releases/latestredirect — no API auth or rate limitsVERSION=v0.1.0override for pinningchecksums.txt/usr/local/bin(orINSTALL_DIRoverride), usessudoonly if neededUsage:
curl -fsSL https://raw.githubusercontent.com/diranged/claude-profile/main/install.sh | shTest plan
VERSION=v0.1.0overrideINSTALL_DIR=/tmpoverride🤖 Generated with Claude Code